package com.xiaoyu.lanling.feature.guard.datamodel

import `in`.srain.cube.request.JsonData
import `in`.srain.cube.views.list.ListItemTypedBase
import com.xiaoyu.base.model.User

abstract class BaseGuardItem(jsonData: JsonData) : ListItemTypedBase {
    val user = User.fromJson(jsonData.optJson("user"))
    val days = jsonData.optInt("days")
    val levelIcon = jsonData.optString("levelIcon")
}